package com.team.recruitment_management_system.pojo.dto.resume;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "添加简历对象")
public class AddResumeDto {
    /**
     * 用户ID
     */
    @Schema(description = "用户id")
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    /**
     * 真实姓名
     */
    @Schema(description = "真实姓名")
    @NotBlank(message = "真实姓名不能为空")
    private String realname;

    /**
     * 性别
     */
    @Schema(description = "性别")
    @NotNull(message = "性别不能为空")
    private Integer gender;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期")
    @NotNull(message = "出生日期不能为空")
    private Date birthdate;

    /**
     * 现居城市
     */
    @Schema(description = "现居城市")
    @NotEmpty(message = "现居城市不能为空")
    private String currentCity;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    @NotEmpty(message = "邮箱不能为空")
    private String email;

    /**
     * 电话号码
     */
    @Schema(description = "电话号码")
    @NotBlank(message = "电话号码不能为空")
    private String phone;

    /**
     * 求职状态
     */
    @Schema(description = "求职状态")
    @NotNull(message = "求职状态不能为空")
    private Integer status;

    /**
     * 优点
     */
    @Schema(description = "优点")
    @NotBlank(message = "优点不能为空")
    private String advantage;

    /**
     * 工作经历
     */
    @Schema(description = "工作经历经历")
    @NotBlank(message = "工作经历经历不能为空")
    private String workExperience;

    /**
     * 项目经历
     */
    @Schema(description = "项目经历")
    @NotBlank(message = "项目经历不能为空")
    private String projectExperience;


}
